import {Component, ElementRef, OnInit, ViewChild} from '@angular/core';

@Component({
  selector: 'app-my-content',
  templateUrl: './my-content.component.html',
  styleUrls: ['./my-content.component.css']
})
export class MyContentComponent implements OnInit {

  @ViewChild('myContent')
  myContent: ElementRef;

  constructor() { }

  ngOnInit() {
    this.myContent.nativeElement.style.minHeight = window.outerHeight;
  }

}
